package com.neugh.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author sot
 * @since 2020-05-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Judge implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 评论id
     */
      @TableId(value = "judgeId", type = IdType.AUTO)
    private Integer judgeId;

    /**
     * 用户外键
     */
    private Integer userId;

    /**
     * 评论内容
     */
    private String judgeContent;

    /**
     * 评论时间
     */
    private String judgeTime;

    @TableField
    public String userName;

    @TableField
    public String userHead;

    @TableField
    public String commContent;

    @TableField
    public String commImg;

    @TableField
    public String commId;

    @TableField
    public String commTime;

    public static final String JUDGEID = "judgeId";

    public static final String USERID = "userId";

    public static final String JUDGECONTENT = "judgeContent";

    public static final String JUDGETIME = "judgeTime";

}
